-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docker compose file to the root of the project #571
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 |
Where are the dockerfiles? I think it will not work without dockerfiles if I am not wrong. |
I have created a separate issue for the Dockerfile(s) issue #690. I can write the Dockerfiles(s) there. |
I have added the Dockerfiles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just one change. Instead of passing the .env file to the backend container, only pass the database url of the mongodb container. As for the rest of the environment variables, I will add default values.
Sure I'll do that |
I have updated the docker compose having only the DATABASE_URL as the env-variable |
docker-compose.yml
Outdated
@@ -0,0 +1,40 @@ | |||
version: '3.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version: '3.8' |
Remove version field as in latest update docker has made it obsolete, removing the line fixes the issue, link for reference: https://forums.docker.com/t/docker-compose-yml-version-is-obsolete/141313
🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀 |
Pull Request
Title
This pr adds docker-compose.yaml at the root of the project
Description
fixes #564
Checklist
Footer